package com.dobbinsoft.iotechn.device.mapper;

import com.dobbinsoft.iotechn.data.mapper.IMapper;
import com.dobbinsoft.iotechn.device.domain.ControllerComponentDO;
import com.dobbinsoft.iotechn.device.dto.ControllerComponentDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Description:
 * User: rize
 * Date: 2020/6/17
 * Time: 15:13
 */
public interface ControllerComponentMapper extends IMapper<ControllerComponentDO> {

    public List<ControllerComponentDTO> getControllerComponent(@Param("controllerId") Long controllerId);

    public Integer updateSort(@Param("id") Long id, @Param("sort") Integer sort, @Param("developerId") Long developerId);

}
